/**
 * 
 */
package com.iknight.mgr.core.common;

/**
 * @author Jeryzym
 *
 */
public enum HttpCodeEnum {
	HTTP_PARAM_NULL("999"), HTTP_USER_NULL("901"), HTTP_PWD_NULL("902"), HTTP_USER_ONLINE("903"), HTTP_USER_NO_EXISTS(
			"904"), HTTP_USER_PWD_UNMATCH("905"), HTTP_USER_LOGIN_EXCEPTION("909"), HTTP_USER_LOGIN_SUC(
					"666"), HTTP_USER_SESSION_EXPIRED("701"), HTTP_USER_PWD_ERROR("702"), HTTP_USER_LOGOUT_SUC("777");

	private String value;

    HttpCodeEnum(String value) {
        this.setValue(value);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Enum#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

}
